package cn.tedu.submarine;
import javax.swing.ImageIcon;
//水雷
public class Mine extends SeaObject {
    public Mine(int x, int y){
        super(11, 11, x, y, 1);
    }

    public void step(){
        y -= speed; //向上
    }
    public ImageIcon getImage() {
        return Images.mine;
    }
}
